use crate::*;
use crate::logic::Unit;

unit! {
    pub trait UnitHp {
        fn hp(&self) -> u32;
        fn set_hp(&self,new_hp:u32) -> Self;
    }
}

unit! {
    pub trait UnitName {
        fn name(&self) -> &str;
    }
}

